package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.GolBO;
import br.com.firula.dao.GolDAO;
import br.com.firula.to.GolTO;

@SuppressWarnings("unchecked")
@Service("golBO")
public class GolBOImpl extends GenericBOImpl implements GolBO {

    @Autowired
    public void setGolDAO(GolDAO dao) {
        this.dao = dao;
    }

    public GolBOImpl(){
    	setType("br.com.firula.to.GolTO");
    }

    public GolTO getGolById(String id) {
    	return (GolTO)get(id);
    }
}